package spring.cloud.service.task;


import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.gson.GsonAutoConfiguration;
import org.springframework.cloud.client.SpringCloudApplication;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.security.oauth2.config.annotation.web.configuration.EnableResourceServer;
import spring.cloud.common.security.annotation.EnableCustomConfig;
import spring.cloud.common.security.annotation.EnableJWFeignClients;

/**
 * @author huihui
 */
@ComponentScan
@EnableJWFeignClients
@EnableCustomConfig
@SpringBootApplication(exclude = GsonAutoConfiguration.class)
@SpringCloudApplication
@EnableResourceServer
public class TaskAdminApplication {
    public static void main(String[] args) {
        SpringApplication.run(TaskAdminApplication.class, args);
        System.out.println("(♥◠‿◠)ﾉﾞ  【任务管理服务】启动成功   ლ(´ڡ`ლ)ﾞ");
    }
}
